<!--
  ~ Copyright (C) 2019 Baidu, Inc. All Rights Reserved.
  -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta name="format-detection" content="telephone=no">
    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <link rel="stylesheet" media="screen and (max-width:900px)" href="/assets/stylesheets/style_wap.css"
          type="text/css"/>
    <link rel="stylesheet" media="screen and (min-width:900px)" href="/assets/stylesheets/style_pc.css" type="text/css"/>
    <title>我的订单</title>
</head>
<body>现金积分(元)
<!-- 前端嵌套写法，仅供前端使用，首页有完整代码 -->
<div class="topline" id="J_topline" data-test="1">
    <nav th:replace="hjh/include::menuV"></nav>
</div>
<div class="porder content">
    <p class="btil">我的云仓库</p>
    <div class="list clearfix">
        <div class="item">
            <div class="infos clearfix">
                <div class="item_sp wa">杜小栗</div>
                <div class="item_sp wb"><p class="item_line">库存</p>
                    <p class="item_line" th:text="${'数量：x' + dxlStock}">数量：x2</p></div>
                <div class="item_sp" style="float: right"><p class="item_line"><a href="/deliver_list"
                                                                                  class="J_btn btn"
                                                                                  data-oid="2">发货</a></p></div>
                <div class="item_sp" style="float: right"><p class="item_line"><a href="/stock/tihuo?type=1"
                                                                                  class="J_btn btn"
                                                                                  data-oid="2">提货</a></p></div>
                <div class="item_sp" style="float: right"><p
                        class="item_line"><a href="/replenishment?type=1" class="J_btn btn" data-oid="2">补货</a></p></div>
            </div>
        </div>
    </div>
    <div class="list clearfix">
        <div class="item">
            <div class="infos clearfix">
                <div class="item_sp wa">黑莓</div>
                <div class="item_sp wb"><p class="item_line">库存</p>
                    <p class="item_line" th:text="${'数量：x' + hmStock}">数量：x2</p></div>
                <div class="item_sp" style="float: right"><p class="item_line"><a href="/deliver_list"
                                                                                  class="J_btn btn"
                                                                                  data-oid="2">发货</a></p></div>
                <div class="item_sp" style="float: right"><p class="item_line"><a href="/stock/tihuo?type=2"
                                                                                  class="J_btn btn"
                                                                                  data-oid="2">提货</a></p></div>
                <div class="item_sp" style="float: right"><p
                        class="item_line"><a href="/replenishment?type=2" class="J_btn btn" data-oid="2">补货</a></p></div>
            </div>
        </div>
    </div>

</div>
<nav th:replace="hjh/include::bottomV"></nav>

<script language="javascript" type="text/javascript" src="/assets/javascript/jquery-2.1.4.min.js"></script>
<script language="javascript" type="text/javascript" src="/assets/javascript/func.js"></script>
<script type="text/javascript">
    $(function () {
    });

    function deliver(orderId) {
        $.ajax({
            type: "GET",
            url: "/order/deliver/" + orderId + "?v=" + (new Date().getTime()),
            dataType: "json",
            contentType: "application/json",
            success: function (res) {
                if (res.code == 0) {
                    // 提交成功
                    alert('提现申请成功');
                    window.location.href = window.location.href;
                } else {
                    if (res.code == 101) {
                        errormsg($('#J_amount'), res.msg);
                    } else {
                        errormsg($('#J_payPwd'), res.msg);
                    }
                }
                ;
            },
            complete: function () {
                isajax = false;
            }
        });
    }
</script>
</body>
</html>
